import Vue from 'vue'
import VueRouter from 'vue-router'

Vue.use(VueRouter)

const routes = [
  {
    path: '/',
    name: 'activityHome',
    component: () => import('../views/ActivityHome.vue'),

  },
  {
    path: '/cardDetail',
    name: 'cardDetail',
    component: () => import('../views/CardDetail.vue'),
    meta: {
      activeIndex: null
    }
  },
  {
    path: '/wallet',
    name: 'wallet',
    component: () => import('../views/Wallet')
  },
  {
    path: '/wechatlanding',
    name: 'wechatlanding',
    component: () => import('../views/WechatLanding')
  }
]

const router = new VueRouter({
  routes
})
export default router